Control of display content by movement on a fixed spherical space

ABSTRACT

The present invention addresses the above described problems by simplifying the assumptions on possible motions made by a user. This simplification process can take place by making an assumption that the motion of the device will travel along a certain preferential motion arc, which will be referred to herein as the “Javal arc.” Calculations of motions of the device can be made based on these Javal arcs. Additionally, the double integration of each accelerometer is now eliminated and the expensive accelerometers are replaced by two magnetic sensors.

FIELD OF THE INVENTION

[0001] This invention relates to electronic devices, more specifically, to the control of display content for electronic devices.

BACKGROUND OF THE INVENTION

[0002] Portable electronic devices are generally controlled by input devices located on the portable device, such as a button, or pen touch computing. A typical portable electronic device 20 is depicted in Prior Art FIG. 1, and includes a display screen 24, and a control area 25, an input touch area 26, an adapter 28 and a series of control buttons 30, 32, 34, 36, and 38. The display is usually controlled by the pen input to a scroll bar in the screen control area 25, or a control buttons 30, 32, 34, 36, and 38

[0003] Other methods have been developed to control the display of a portable electronic device with the use of user initiated motion. One such method invented by the applicant is embodied in U.S. Pat. No. 6,184,847, which is represented by prior art FIG. 2 in which the display of the portable electronic device 20 responds to user controlled motion of a user 100. Other devices such as the Compaq Rock-n-Scroll™ represented by prior art FIG. 3A and FIG. 3B, use only user's 100 tilt of the portable device 20 to control the display. Such portable devices 20 usually comprise multiple sensing devices such as accelerometers in order to detect user initiated motion. Such devices usually require the use of multiple accelerometers which can add greatly to the expense of the portable device.

[0004] Additionally, the calculation required from the input of several accelerometers can add greatly to the computational problems of controlling a display with such types of motions sensors. Although, simple threshold types of motions such as a 45 degree tilt can easily control a display for simple commands such a scroll left or scroll right, calculation that requires more fine tuning will use a great deal more computing power to integrate the data from the three accelerometer or gyroscope readings. For example the motions of the portable device will result in logic having to integrate the voltage readings from two accelerometers.

[0005] The accelerometer can be used to measure motion in any direction, including a “tilting” of the device. The distance an object has been moved is the integral of velocity over time. Essentially, the integral is a fairly complicated calculation on a device that may be running less than 8 M or RAM and while single calculations do not present a serious problem, continuous calculation from constant movement will require a great deal of system resources.

[0006] Normally, to measure the distance and object has traveled with accelerometers, it is necessarily to integrate twice. This amount of integration can lead to a great deal of error, even with the most accurate of accelerometers, what is needed is a way to predict some of the parameters of motion based on a normal users movement, instead of integrating several accelerometers at the same time.

[0007] What is needed is a method of calculating the motion or position of a portable device that does not require the expense and computational complexity of multiple accelerometers or other motion sensor, in order to control the display of the device.

SUMMARY OF THE INVENTION

[0008] The present invention addresses the above described problems by simplifying the assumptions on possible motions made by a user. This simplification process can take place by making an assumption that the motion of the device will travel along a certain preferential motion arc, which will be referred to herein as the “Javal arc.” Calculations of motions of the device can be made based on these Javal arcs. Additionally, the double integration of each accelerometer is now eliminated and the expensive accelerometers are replaced by two magnetic sensors.

BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The present invention is illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar elements and in which:

[0010]FIG. 1 represents a typical prior art portable electronic device.

[0011]FIG. 2 represents a prior art method of controlling a display using intuitive controlled motion.

[0012]FIG. 3A represent the prior art of using “tilt” to input display command on a portable electronic device.

[0013]FIG. 3B represents a prior art attempt to determine motion using 3 accelerometers.

[0014]FIG. 4 is the representation of the virtual display space to the content display as converted in the present invention.

[0015]FIG. 5A represents a the hardware configuration of the present invention in a preferred embodiment on a PDA.

[0016]FIG. 5B is detail of FIG. 5A for the motion control system of the present invention.

[0017]FIG. 6A is a representation of a Javal arc movement sphere.

[0018]FIG. 6B represents the portable electronic device in centered position on the Javal arc of motion as applied to the present invention.

[0019]FIG. 6C represents the screen of a sample at position in FIG. 6B.

[0020]FIG. 6D represents a detailed view of the PDA at the position in FIG. 6B.

[0021]FIG. 7A represents the portable electronic device above the horizontal axis of view position on the vertical Javal arc of motion as applied to the present invention.

[0022]FIG. 7B represents the screen of a sample PDA at position in FIG. 7A.

[0023]FIG. 8A represents the portable electronic device below the horizontal axis of view position on the vertical Javal arc of motion as applied to the present invention.

[0024]FIG. 8B represents the screen of a sample PDA at position in FIG. 8A

[0025]FIG. 9A represents the portable electronic device to the right the vertical axis of view position on the horizontal Javal arc of motion as applied to the present invention.

[0026]FIG. 9B represents the screen of a sample PDA at position in FIG. 9A.

[0027]FIG. 10A represents the portable electronic device to the left the vertical axis of view position on the horizontal Javal arc of motion as applied to the present invention.

[0028]FIG. 10B represents the screen of a sample PDA at position in FIG. 10A.

[0029]FIG. 11A represents the portable electronic device to the left the vertical axis of view position on the horizontal Javal arc of motion as applied to the present invention.

[0030]FIG. 11B represents the screen of a sample PDA at position in FIG. 11A.

[0031]FIG. 12 is the representative diagram of the motion and position logic in a preferred embodiment of the invention.

[0032]FIG. 13 is the method by which the movement of the display on the portable electronic device is calculated in the control unit.

[0033]FIG. 14 is an alternate method for calculating movement and position in an embodiment of the present invention with regard to the zoom function.

[0034]FIG. 15 is the resulting content screen for the method depicted in FIG. 14.

DETAILED DESCRIPTION OF THE INVENTION

[0035] The Javal arc is mainly used in connection with optical measurement devices and it is generally used as a medical term. However, since the display of a computer or electronic device has to do with vision, the Javal arc can be applied to the system of screen display viewing as well. Javal was a French physician who developed measurements for lines of sight, which has been applied mainly to opthamalogic devices for almost a century. However, the Javal arc can be used to measure the natural motion of lines of sight and motion related thereto. In the present invention the Javal arc is used as a computational assumption or a constant in order to eliminate expensive accelerometers and valuable computing power in a portable electronic device. There are 3 components to the Javal arc that extends out from the comfortably stretched arm of the user.

[0036] In order to avoid the difficulty of double integration in the calculation method for determining the motion of the device, a simpler and more accurate method of the present invention teaches a way to more accurately calculate movement from less expensive components, such as magnetometers. In one embodiment this control method requires only one accelerometer, and two inexpensive magnetometers. In yet another embodiment, two inexpensive magnetometers and a gyroscope may be used in the place of an accelerometer.

[0037] Distance traveled is the integral of velocity over time. Needless to say, for motions that last a fraction of a second, this can be very taxing on the calculation resources on a small electronic device where computing resources are already scarce. It can also be wildly inaccurate as can be appreciated by those skilled in the art.

[0038] Generally speaking, a small portable display screen will not have the capacity to display an entire desktop computer screen worth of graphics and text at one time. Although, some solutions, like for those on PDAs have proposed a new set of display requirements, such as web clipping, which are wholly inadequate to display the graphics of a normal computer display. The invention teaches a way to control the buffered display of an entire virtual display which will not fit on the display screen of the device, using the Javal arc motion and related computation aspects described herein.

[0039] Control of the display 26 of the portable electronic device 20 will be effectuated by motion of the device by a user. This is described above in the prior art description of control of the display of a device through a motion of the user. However, the user of a portable electronic device will not move the device equivalent to a normal Cartesian set of coordinates, or any other perfectly ordered geometrical system (cylindrical, etc.). The user will move the device in a manner that is natural to the user's eye and hand coordination, and is described with respect to a Javal arc movement coordinate system.

[0040] The present invention uses the expression “virtual display space” to define the entire of amount of graphics that may be presented. FIG. 4 is the representation of the virtual display space to the content display as converted in the present invention.

[0041] Other expressions used in this capacity are “performance space” and “virtual desktop.” The expression “virtual screen” is a related concept to virtual display space, but is more limited in that the virtual screen has the equivalent virtual display space of only one desktop screen. The present invention distinguishes between virtual display space and a virtual screen, because of the manner in which the display memory will store and access such data. For example, a PDA graphic memory may store an entire virtual screen in a easily accessed buffer, but other screens are stored in cache or loaded as they become needed in the buffer. A more powerful device with a larger display buffer may be able to load an entire document. For the purposed of this disclosure, the expression virtual display space is primarily used. When discussing content from the Internet or an equivalent computer display, the expression virtual screen may be used but is distinguished from virtual display space.

[0042] Referring now to FIG. 5A, a sample electronic device 20 implementing the present invention is shown. The PDA 20 includes a single or series of microprocessors and controllers represented by 500, which may include a graphic memory buffer 501 for a virtual display. The fixed sphere motion control system 1000 comprises an accelerometer 1002 one or more magnetometers 1004 and 1006, an electrical signal connector 1100 and motion and position calculation logic 2000. The fixed motion control system 1000 is coupled with the control system of the PDA 20 through a series of logical connects 1001. FIG. 5B is the fixed motion control system 1000 in greater detail.

[0043] Referring now to FIG. 6A and FIG. 6B, a Javal arc movement coordinate system of motion 100 as is used by the present invention is described. The locus of a user 10 is generally where they would be viewing, so approximately at the eye. A preferred distance R along the radial axis 12 is usually between 35-40 cm from the user locus 10. However, as will be described below, the radial axis 12 may vary with user preferences and other factors such as the height of the user or the preference of the viewing distance of the device (which is adjustable in a preferred embodiment). The vertical component of the Javal arc 104 will move along the primary axis of a fictional vertical ellipse 104, that will be nearly circular in form. The center of the vertical ellipse 106 will be close to the user locus 10, but not necessarily because of variations in movements of the PDA 20. The horizontal Javal arc 110 will be located on fictional horizontal ellipse 112, which as the vertical ellipse 104 will have its locus.

[0044] Thus the “panning” motion of the portable electronic device 20 will generally travel on a portion of a spheroid 101 like coordinate system 100 in which the two Javal arcs which meet at the central viewing point 199 and define the surface of motion in which the user moves the device. The user does not need to move the device along either of the arcs 104 110 to effectuate control of the display of the device but will tend to move the device anywhere on the surface of the spheroid 101. The angle of the movement along either arc 104 110 will be proportional the angle that the user 10 is holding the device 20 away from its normal axis. These angles are described in detail below.

[0045] Referring now to FIGS. 6B-11C, a system for controlling the displayed portion 26 of a virtual display 99 which may be stored or rendered in the memory buffer 501 (or other control commands) of the portable electronic device 20 by calculating the movement of the device 20 is displayed and each corresponding content screen 600 resulting from the movement or repositioning. The present invention uses the angle(s) of the device from the normal as a method for determining the distance traveled in the vertical direction. This is exemplified in the sequence of illustrations from FIG. 6B-11C. In FIG. 6B, the user 10 is holding the device 20 a radial distance 12 from the user's origin of vision or other reference point straight out from the user 10. The PDA 20 is not tilted at an angle because there has been no movement along the Javal arcs 104 and 110.

[0046] Referring now to FIG. 6C, a corresponding content display 600 located on the portable electronic device 20 display 26 is shown. For illustrative purposes the content screen 600 is divided up into 9 central regions 601-609, including a central region 601. In FIG. 6C, since the device has not moved from its initial reference point 199, the content screen 600 is centered at its initial state. Although in a preferred embodiment the content screen 600 could start at another orientation or initial location. FIG. 6D is a depiction of the PDA 20 side view when located at point 199, with the component parts represented.

[0047] In FIG. 7A the user 10 is holding the portable electronic device 20 at an angle α(1) 30 above the vertical normal of the user's line of sight 12 along the horizontal axis (or above the horizontal axis straight in front of the user). In addition when the PDA 20 is held at angle α(1) 30, it will be naturally held at a second angle α(2) 40 at which the vertical axis of the portable electronic device 41 will make with the normal vertical 42. This is illustrated in FIG. 7C. The present invention takes advantage of the fact that generally α(1) 30 will be proportional to α(2) 40 as will be explained in the position and motion logic below. The corresponding screen to position or motion represented in FIG. 7A is represented in FIG. 7B, where region 601 is now moved upward and a bottom region of the virtual display space 620 is represented. In FIG. 8A the user 10 is holding the portable electronic device 20 at an angle α(1) 30 below the vertical normal of the user's line of sight 12 along the horizontal axis The PDA 20 is held at angle α(1) 30, it will also be naturally held at a second angle α(2) 40 in the opposition direction of FIG. 7C and is illustrated in FIG. 8C. The corresponding screen to position or motion represented in FIG. 8A is represented in FIG. 8B, where region 601 is now moved downward and a top region of the virtual display space 630 is represented.

[0048] FIGS. 9A-B, and FIGS. 10A-B represent the horizontal movement of the device to the right and left of the vertical normal of the user's line of sight respectively comprising angle α(3) 50 along the horizontal Javal arc 110. FIG. 9B shows a region in content screen 600 to the user's right 640 and FIG. 10B shows a region to the user's right 650 on the content screen 600. FIG. 11A represents a motion to both the right and above the respective vertical and horizontal axis which resulting in the display of the content screen 600 as shown in FIG. 11B and is located on the surface of the Javal spheroid 101. FIG. 9C is the representation of the α(4) 60 of the display device 20 to it normal horizontal axis 62 corresponding to the movement of the device 20 along the arc 110 in FIG. 9A.

[0049] The invention includes logic means 2000, which is shown in FIG. 12 herein, for calculating the distance the device has moved from a previous locations or orientation. Such logic 2000 may be hardwire into a physical Application Specific Integrated Circuit (ASIC) 2001, but is more like calculated on a distributed system where the commands can be activated reprogrammed by the hardware in the portable electronic device 20. Logic means includes an accelerometer input 2100, a first magnetometer input 2200 a second magnetometer input 2300, an optional fourth motion detection input 2400, a virtual motion calculation unit 2500, and a display control signal unit 2700.

[0050] Because accelerometers can effectively measure motion in one direction without integration, that one direction can be easily calculated, especially in the accelerometers most sensitive mode which is vertical because of the measure of gravity. Normally, to detect the motion in two directions, two accelerometers can be placed on a device, but this requires a great deal of integration which leads to enormous inaccuracies. In the present invention, the single accelerometer 1002 will measure the vertical movement or position of the portable electronic device 20.

[0051] Magnetometers can also easily measure the angle of the device 20 relative to its normal orientation as depicted in FIGS. 7C, 8C and 9C. Thus, in the above figures α(2) 40 and α(4) 60 can be easily measured from the vertical 42 and horizontal 62 orientations of the device 20. From the magnetometers 1004 and 1006 and the calculations of α(1) 30 and α(3) 50 made respectively as the distance traveled along Javals arcs 104 and 110. For example, a reasonably priced magnetometer 1004 can generally measure a few nanoTeslas (nT) of magnetic field changes. These magnetometers can therefore measure changes on the order of centimeters. The magnetometer can therefore measure an angle of device relative to its normal axis 42 due to change in magnetic field orientation. There are a variety of reasonable priced magnetometers available to consumers and the use of particular magnetometers may vary based on manufacturing requirements of the device 20, but constitute thin film magnetometers in a preferred embodiment in the present invention. The operation of such magnetometers is well know to those skilled in the art and will not discussed here.

[0052] The resulting voltage inputs to 2200 and 2300 from the magnetometers calculations of the changes in the magnetic field H, generally means that each axis of sensitivity of both H(x) and H(y) will have to be determined from H(⊥) and H(//) based on the angles α(2) 40 and α(4) 60 from the axes. The formula for the determination of the resulting voltage signal output into the inputs 2200 and 2300 is included herein.

[0053] The voltage signals from the changes in the respective magnetic fields H(x) and H(y) and which are detected by the magnetometers 1004 and 1006, are compiled with the output from the accelerometer 1002 and then compiled in the motion calculation unit 2500 based on the formulas described herein. It should be noted that the entire motion detection logic and control system 2000 is virtual, and any one of the components of the system may be located at any place through out the hardware of the device 20. For example, the accelerometer input unit 2100 may actually be located on the accelerometer 1002 instead of in the ASIC 2001 or in a discrete location in the distributed system alternative. The logic of the motion calculation unit 2500 for determining the motion and position of the device of is based on formulas disclosed herein.

[0054] One method for calculating position and distance traveled along the Javal spheroid 101 is the instantaneous velocity of an origin point 2 on the electronic device 20 is defined as: V(x)=R*dα(1)/dt; V(y)=R* sin α(1)*dα(2)/dt in the “portrait” orientation, and V(x)=R*dα(4)/dt; V(y)=R* sin α(1)*dα(3)/dt in the “landscape” orientation. Although this requires the conversion of coordinates based on the changing coordinate systems, the conversion of the Cartesian coordinates to Spherical coordinates in well known to those skilled in the art and is described in appendix A in the additional disclosure of the invention.

[0055] Referring now to FIG. 13, a method for controlling a portable device with a display by the use of intuitive movements along a Javal spheroid 101 is shown. In step 1302, the user activates the Javal arc movement control modes by one of several different methods and a voltage output from the accelerometer 1002 and the magnetometers 1004 and 1006 is sent to their respective virtual processors 2100, 2200 and 2300 in the motion control logic 2000. In step 1304, the motion and position of the device is determined by the motion calculation unit 2500. This process described in greater detail below. The motion of the device is determined and then sent to the display control unit 2700 in step 1306. The display control unit 2700 determines what the particular motion or position of the device means for the control of the display in step 1306, and in step 1308 will test for validity (if the motion indicates any kind of control at all) or if more input from the motion sensors 1002 1004 1006 needs to take place before change in the display will result. If more information is needed the control unit 2700 returns to step 1302 for further input. If not the particular display command (scroll up 20 pixels, pan left 50 pixels, etc. ) is chosen by the display control unit 2700 in step 1310. In step 1312 the command is sent to the display driver, which may included the virtual display 99 rendered in the display buffer 501. If the command is valid in step 1314, the command is performed in step 1320, but if the command is not valid (for example the display has panned as far left as it can go) then the process returns to step 1310 or 1302 for another command.

[0056] Depending on the user preferences, the movement and position of the device can be programmed to control the display differently. For example a user may wish to have the upward movement along the vertical Javal arc 104 to have the PDA content screen 600 to pan downward. Other users may wish to have such movement pan upward in an alternate embodiment.

[0057] In other preferred embodiments, means for detecting the distance a user 10 is away from the device may include echo location functions, light intensity functions. Zooming functions may be activated in different ways depending on the efficiency of manufacture. Other useful features of the invention may include such embodiments which include (1) threshold control for the elimination of the movement “noise;” (2) threshold control for the activation of the display control mechanism, (3) alternate display controls, such as horizontal movement is a display vertical scroll and vice versa; (4) lock and unlock controls of the arc movement navigation (where the horizontal is locked, but the vertical continues to scroll) and other useful navigation features.

[0058] In another embodiment represented by FIG. 14, the invention uses the angle method for determining the users hand position, based upon some assumptions of human anatomy are used to determine the zoom control of the device 20. The user 10 is holding the PDA and wishing to enable the zoom-in and zoom-out functions. The user 10 release the navigation mode (it is possible to stay in navigation if it is latched-mode operation), and press the zoom button 38. Consider a user's 10 elbow to be in a fixed position against their side. The PDA 20 is moved in and out from the user's eyes. The angle of the PDA 20 changes from vertical to tilted angle α(5) 75. α(5) 75 can be used for scrolling. The difference is that now the new angle α(5) 75 is used to interpret this tilting as zoom-in and zoom-out which is an alternate to the because the zoom button method detailed above. This methodology has significant advantages: the same accelerometer 1002 is used, which takes advantage of gravity in its most sensitive mode of operation. It can be continuous, smooth zooming. There is no need for software incrementing, or jumping by steps, since continuous position information is being provided to the motion control unit 2500. The two positions in FIG. 14(1) and (2) correspond to sample display content screens 600 in FIG. 15(1) and (2).

[0059] When a user holding a PDA or smart phone device in his hand, moves it around while looking at the device display, the following assumptions apply:

[0060] 1) The user will maintain the display at a distance that is constant. The distance can be adjusted to a comforatable reading distance. Assume that the conforatable reading distance is denoted by the value R_(comf).

[0061] 2) The user will maintain the display approximately normal to his line of sight.

[0062] These constraints define a situation in which the center of the display O¹ will move over the surface of its sphere, centered at the middle point of the segment joining the user's two eyes O, and of radius R_(conf); with the display remaining tangent to the sphere at all times.

[0063] It can be assumed, without any loss of generality, a global frame of reference (O, X, Y, Z) so that O_(Z) is vertical with the gravity vector oriented downward, and so that the Earth magnetic field {right arrow over (H)} is in the (O_(X), O_(Z)) plane. One defines a device frame that (O¹, X¹¹¹, Y¹¹¹, Z¹¹¹) attached to the device display.

[0064] The device frame is related to the global frame by three successive rotations. A first rotation of the global frame around its O_(Z) axis by angle Φ (the azimuth angle), defines the first intermediate frame (O¹, X¹, Y¹, Z¹), with Z¹=Z. Then a rotation of the first intermediate frame around the Y¹ axis by an angle θ (the tilt angle), defines the second intermediate frame (O¹, X¹¹, Y¹¹, Z¹¹), with Y¹¹=Y¹. Finally a rotation of the second intermediate frame around the Z¹¹ axis by an angle γ (the orientation angle), defines the device frame (O¹, X¹¹¹, Y¹¹¹, Z¹¹¹), with Z¹¹¹=Z¹¹.

[0065] γ=zero corresponds to a portrait orientation of the device, while γ=π/2 corresponds to a landscape orientation.

[0066] Assuming that the motion of the device in space is constrained as previously explained, the instantaneous velocity of O¹ in the global frame, projected along the base vectors of the device frame, is given by:

[0067] 1) in portrait orientation: $\begin{matrix} {\upsilon_{O^{\prime}}^{X^{\prime\prime\prime}} = {R_{conf}\frac{\theta}{t}}} & (1) \end{matrix}$

$\begin{matrix} {\upsilon_{O^{\prime}}^{Y^{\prime\prime\prime}} = {R_{conf}{Sin}\quad \theta \frac{\varphi}{t}}} & (2) \end{matrix}$

[0068] 2) in landscape orientation: γ=±π/2 $\begin{matrix} {\upsilon_{O^{\prime}}^{X^{\prime\prime\prime}} = {{\pm R_{conf}}{Sin}\quad \theta \frac{\varphi}{t}}} & (3) \\ {\upsilon_{O^{\prime}}^{Y^{\prime\prime\prime}} = {{\pm R_{conf}}\frac{\theta}{t}}} & (4) \end{matrix}$

[0069] From the previous equations it can be seen that the determination of the instantaneous velocity of O¹ has been reduced to the determination of the time derivatives of θ and Φ.

[0070] Model of the Sensor Assembly:

[0071] In order to simplify the formulation of the problem, and without any significant loss of generality, one assumes that all the sensors are in the plane of the display (the (O′_(X′″), O′_(Y′″)) plane).

[0072] One infers that:

{right arrow over (μ)}_(α)=Cos ξ_(α){right arrow over (μ)}_(X′″)+Sin ξ_(α){right arrow over (μ)}_(Y′″)  (5)

[0073] With the angle ξ_(α) assumed to be known (calibration). $\begin{matrix} {{{And}\quad {one}\quad {has}\quad \begin{pmatrix} {\overset{}{\mu}}_{X^{\prime}} \\ {\overset{\rightarrow}{\mu}}_{Y^{\prime}} \\ {\overset{\rightarrow}{\mu}}_{Z^{\prime}} \end{pmatrix}} = {\begin{pmatrix} {{Cos}\quad \varphi} & {{Sin}\quad \varphi} & O \\ {{- {Sin}}\quad \varphi} & {{Cos}\quad \varphi} & O \\ O & O & 1 \end{pmatrix}\begin{pmatrix} {\overset{\rightarrow}{\mu}}_{X} \\ {\overset{\rightarrow}{\mu}}_{Y} \\ {\overset{\rightarrow}{\mu}}_{Z} \end{pmatrix}}} & (6) \\ {\quad {\begin{pmatrix} {\overset{\rightarrow}{\mu}}_{X^{''}} \\ {\overset{\rightarrow}{\mu}}_{Y^{''}} \\ {\overset{\rightarrow}{\mu}}_{Z^{''}} \end{pmatrix} = {\begin{pmatrix} {{Cos}\quad \theta} & O & {{- {Sin}}\quad \varphi} \\ O & 1 & O \\ {{Sin}\quad \theta} & O & {{Cos}\quad \theta} \end{pmatrix}\begin{pmatrix} {\overset{\rightarrow}{\mu}}_{X^{\prime}} \\ {\overset{\rightarrow}{\mu}}_{Y^{\prime}} \\ {\overset{\rightarrow}{\mu}}_{Z^{\prime}} \end{pmatrix}}}} & (7) \\ {\quad {\begin{pmatrix} {\overset{\rightarrow}{\mu}}_{X^{\prime\prime\prime}} \\ {\overset{\rightarrow}{\mu}}_{Y^{\prime\prime\prime}} \\ {\overset{\rightarrow}{\mu}}_{Z^{\prime\prime\prime}} \end{pmatrix} = {\begin{pmatrix} {{Cos}\quad \gamma} & {{Sin}\quad \gamma} & O \\ {{- {Sin}}\quad \gamma} & {{Cos}\quad \gamma} & O \\ O & O & 1 \end{pmatrix}\begin{pmatrix} {\overset{\rightarrow}{\mu}}_{X^{''}} \\ {\overset{\rightarrow}{\mu}}_{Y^{''}} \\ {\overset{\rightarrow}{\mu}}_{Z^{''}} \end{pmatrix}}}} & (8) \end{matrix}$

[0074] Tilt and Orientation Determination:

[0075] Assuming two accelerometers in the (O′_(X′″), O′_(Y′″)) plane, with sensitivity axis {right arrow over (μ)}_(α1), {right arrow over (μ)}_(α2); one has:

{right arrow over (μ)}_(α1)=Cos ξ_(α1){right arrow over (μ)}_(X′″)+Sin ξ_(α1){right arrow over (μ)}_(Y′″)  (9.1)

{right arrow over (μ)}_(α2)=Cos ξ_(α2){right arrow over (μ)}_(X′″)+Sin ξ_(α2){right arrow over (μ)}_(Y′″)  (9.2)

[0076] And the output of these two sensors are given by:

V _(α1) =V ⁰ _(α1) +S _(α1) {right arrow over (g)}·{right arrow over (μ)} _(α1)   (10.1)

V _(α2) =V ⁰ _(α2) +S _(α2)·{right arrow over (μ)}_(α2)   (10.2)

[0077] Where the offset voltage V^(O) _(α)(in V), and the sensitivities S_(α) (in V m⁻¹, δ), are assumed to be known (calibration).

[0078] From (10), one has: $\begin{matrix} {{\overset{\rightarrow}{g} \cdot {\overset{\rightarrow}{\mu}}_{\alpha 1}} = \frac{V_{\alpha 1} - V_{\alpha 1}^{O}}{S_{\alpha 1}}} & (11.1) \\ {{\overset{\rightarrow}{g} \cdot {\overset{\rightarrow}{\mu}}_{\alpha 2}} = \frac{V_{\alpha 2} - V_{\alpha 2}^{O}}{S_{\alpha 2}}} & (11.2) \end{matrix}$

[0079] From (9), one has:

γ_(α1) ={right arrow over (g)}·(Cos ξ_(α1){right arrow over (μ)}_(X′″)+Sin ξ_(α1){right arrow over (μ)}_(Y′″))   (12.1)

γ_(α2) ={right arrow over (g)}·(Cos ξ_(α2){right arrow over (μ)}_(X′″)+Sin ξ_(α2){right arrow over (μ)}_(Y′″))   (12.2)

i.e.,

Cos ξ_(α1)({right arrow over (g)}{right arrow over (μ)} _(X′″))+Sin ξ_(α1)({right arrow over (g)}{right arrow over (μ)} _(Y′″))=γ_(α1)

Cos ξ_(α2)({right arrow over (g)}{right arrow over (μ)} _(X′″))+Sin ξ_(α2)({right arrow over (g)}{right arrow over (μ)} _(Y′″))=γ_(α2)

[0080] i.e., $\begin{matrix} {\begin{pmatrix} \left( {\overset{}{g}\quad {\overset{}{\mu}}_{X^{\prime\prime\prime}}} \right) \\ \left( {\overset{}{g}\quad {\overset{}{\mu}}_{Y^{\prime\prime\prime}}} \right) \end{pmatrix} = {\left( {\overset{=}{M}}^{- 1} \right) \cdot \begin{pmatrix} \gamma_{\alpha 1} \\ \gamma_{\alpha 2} \end{pmatrix}}} & (13.1) \\ {{\overset{=}{M} \cdot} = \begin{pmatrix} {{Cos}\quad \xi_{\alpha 1}} & {{Sin}\quad \xi_{\alpha 1}} \\ {{Cos}\quad \xi_{\alpha 2}} & {{Sin}\quad \xi_{\alpha 2}} \end{pmatrix}} & (13.2) \end{matrix}$

[0081] One introduces:

γ_(X′″) ={right arrow over (g)}{right arrow over (μ)} _(X′″)

γ_(Y′″) ={right arrow over (g)}{right arrow over (μ)} _(Y′″)  (14)

[0082] From (7) and (8), one has:

{right arrow over (μ)}_(X′″)=Cos γ{right arrow over (μ)}_(X″)+Sin γ{right arrow over (μ)}_(Y″)

{right arrow over (μ)}_(Y′″)=−Sin γ{right arrow over (μ)}_(X″)+Cos γ{right arrow over (μ)}_(Y″)  (15)

{right arrow over (μ)}_(X″)=Cos θ{right arrow over (μ)}_(X′) Sin θ{right arrow over (μ)}_(Z′)

{right arrow over (μ)}_(Y″={right arrow over (μ)}) _(Y′)

and {right arrow over (g)}=−{right arrow over (μ)} _(Z′)  (17)

γ_(X′″) =+g Cos γ Sin θ  (18.1)

γ_(Y′″) =−g Sin γ Sin θ  (18.2)

[0083] i.e., $\begin{matrix} {\frac{\gamma_{X^{\prime\prime\prime}}}{g} = {{+ {Cos}}\quad \gamma \quad {Sin}\quad \theta}} & (19.1) \\ {\frac{\gamma_{Y^{\prime\prime\prime}}}{g} = {{- {Sin}}\quad \gamma \quad {Sin}\quad \theta}} & (19.2) \end{matrix}$

[0084] i.e., $\begin{matrix} {{\left( \frac{\gamma_{X^{\prime\prime\prime}}}{g} \right)^{2} + \left( \frac{\gamma_{Y^{\prime\prime\prime}}}{g} \right)^{2}} = {{Sin}^{2}\theta}} & (20) \end{matrix}$

[0085] i.e., $\begin{matrix} {{{Sin}\quad \theta} = \left\lbrack {\left( \frac{\gamma_{X^{\prime\prime\prime}}}{g} \right)^{2} + \left( \frac{\gamma_{Y^{\prime\prime\prime}}}{g} \right)^{2}} \right\rbrack^{1/2}} & (21) \end{matrix}$

[0086] As by definition ${0\quad {is}} < \theta < \frac{\pi}{2}$

[0087] and $\begin{matrix} {{{Cos}\quad \gamma} = \frac{\left( \frac{\gamma_{X^{\prime\prime\prime}}}{g} \right)}{\left\lbrack {\left( \frac{\gamma_{X^{\prime\prime\prime}}}{g} \right)^{2} + \left( \frac{\gamma_{Y^{\prime\prime\prime}}}{g} \right)^{2}} \right\rbrack^{\frac{1}{2}}}} & (22.1) \\ {{{Sin}\quad \gamma} = {- \frac{\left( \frac{\gamma_{Y^{\prime\prime\prime}}}{g} \right)}{\left\lbrack {\left( \frac{\gamma_{X^{\prime\prime\prime}}}{g} \right)^{2} + \left( \frac{\gamma_{Y^{\prime\prime\prime}}}{g} \right)^{2}} \right\rbrack^{\frac{1}{2}}}}} & (22.2) \end{matrix}$

[0088] If ${{{Sin}\quad {\gamma\lambda}}} \leq \frac{\sqrt{2}}{2}$

[0089] for portrait orientation ${\quad {{Sin}\quad \gamma}} \geq \frac{\sqrt{2}}{2}$

[0090] for landscape orientation

[0091] with ε=Sig (Sin γ)

[0092] Azimuth Determination:

[0093] One has the in-plane component of the local magnetic field given by:

{right arrow over (H)} _(″)=(H _(poc) Cos δ){right arrow over (μ)}_(X)   (23)

[0094] Where the amplitude H_(poc) and the inclination angle δ may be slowly varying functions off position and time.

[0095] And the perpendicular component:

{right arrow over (H)} _(⊥)=(−H _(poc) Sin δ){right arrow over (μ)}_(Z)   (24)

[0096] Assuming two magnometers in the (O′_(X′″), O′_(Y′″)) plane, with sensitivity axis {right arrow over (μ)}_(M1) and {right arrow over (μ)}_(M2), one has:

{right arrow over (μ)}_(M1)=Cos ξ_(M1){right arrow over (μ)}_(X′″)+Sin ξ_(M1){right arrow over (μ)}_(Y′″)  (25.1)

{right arrow over (μ)}_(M2)=Cos ξ_(M1){right arrow over (μ)}_(X′″)+Sin ξ_(M2){right arrow over (μ)}_(Y′″)  (25.2)

[0097] And the output of these two sensors are given by:

V _(M1) =V ⁰ _(M1) +S _(M1) {{right arrow over (H)} _(//)·{right arrow over (μ)}_(M1) +{right arrow over (H)} _(⊥)·{right arrow over (μ)}_(M1)}  (26.1)

V _(M2) =V ⁰ _(M2) +S _(M2) {{right arrow over (H)} _(//)·{right arrow over (μ)}_(M2) +{right arrow over (H)} _(⊥)·{right arrow over (μ)}_(M2)}  (26.2)

[0098] Where the offset voltage V⁰ _(α) (in V), and the sensitivities S_(α) (in V·O_(e) ⁻¹) are assumed to be known (calibration).

[0099] From (26), one has: $\begin{matrix} {{{{\overset{->}{H}}_{ll} \cdot {\overset{->}{\mu}}_{M1}} + {{\overset{->}{H}}_{\bot} \cdot {\overset{->}{\mu}}_{M1}}} = \frac{V_{M1} - V_{M1}^{0}}{S_{M1}}} & (27.1) \\ {{{{\overset{->}{H}}_{ll} \cdot {\overset{->}{\mu}}_{M2}} + {{\overset{->}{H}}_{\bot} \cdot {\overset{->}{\mu}}_{M2}}} = \frac{V_{M2} - V_{M2}^{0}}{S_{M2}}} & (27.2) \end{matrix}$

[0100] i.e., from (15), one has: ${{{Cos}\quad {\xi_{M1}\left( {{\overset{->}{H}}_{ll} + {\overset{->}{H}}_{\bot}} \right)}{\overset{->}{\mu}}_{X^{\prime\prime\prime}}} + {{Sin}\quad {\xi_{M1}\left( {{\overset{->}{H}}_{ll} + {\overset{->}{H}}_{\bot}} \right)}{\overset{->}{\mu}}_{Y^{\prime\prime\prime}}}} = \frac{V_{M1} - V_{M1}^{0}}{S_{M1}}$ ${{{Cos}\quad {\xi_{M2}\left( {{\overset{->}{H}}_{ll} + {\overset{->}{H}}_{\bot}} \right)}{\overset{->}{\mu}}_{X^{\prime\prime\prime}}} + {{Sin}\quad {\xi_{M2}\left( {{\overset{->}{H}}_{ll} + {\overset{->}{H}}_{\bot}} \right)}{\overset{->}{\mu}}_{Y^{\prime\prime\prime}}}} = \frac{V_{M2} - V_{M2}^{0}}{S_{M2}}$

[0101] i.e., $\begin{matrix} {\begin{bmatrix} {\left( {{\overset{->}{H}}_{ll} + {\overset{->}{H}}_{\bot}} \right)\bullet {\overset{->}{\mu}}_{X^{\prime\prime\prime}}} \\ {\left( {{\overset{->}{H}}_{ll} + {\overset{->}{H}}_{\bot}} \right)\bullet {\overset{->}{\mu}}_{Y^{\prime\prime\prime}}} \end{bmatrix} = {\left( {\overset{\overset{\_}{\_}}{M}}^{- 1} \right)\left( \frac{\frac{V_{M1} - V_{M1}^{0}}{S_{M1}}}{\frac{V_{M2} - V_{M2}^{0}}{S_{M2}}} \right)}} & (28) \\ {{\overset{\overset{\_}{\_}}{H}\bullet} = \begin{pmatrix} {{Cos}\quad \xi_{M1}} & {{Sin}\quad \xi_{M1}} \\ {{Cos}\quad \xi_{M2}} & {{Sin}\quad \xi_{M2}} \end{pmatrix}} & (29) \end{matrix}$

 h _(X′″)=({right arrow over (H)} _(//) +{right arrow over (H)} _(⊥))·{right arrow over (μ)}_(X′″)  (30.1)

h _(Y′″)=({right arrow over (H)} _(//) +{right arrow over (H)} _(⊥))·{right arrow over (μ)}_(Y′″)  (30.2)

[0102] For (6), (7) and (8), one has:

{right arrow over (μ)}_(X′″)=Cos γ Cos θ Cos Φ{right arrow over (μ)}_(X)+Cos γ Cos θ Sin Φ{right arrow over (μ)}_(Y) Cos γ Sin θ{right arrow over (μ)}_(Z)−Sin γ Sin Φ{right arrow over (μ)}_(X)+Sin γ Cos Φ{right arrow over (μ)}_(Y)=(Cos γ Cos θ Cos Φ−Sin γ Sin Φ){right arrow over (μ)}_(X)+A{right arrow over (μ)}_(Y)−Cos γ Sin θ{right arrow over (μ)}_(Z)   (31.1)

{right arrow over (μ)}_(Y′″)=(Sin γ Cos θ Cos Φ−Cos γ Sin Φ){right arrow over (μ)}_(X) +B{right arrow over (μ)} _(Y)−Sin γ Sin θ{right arrow over (μ)}_(Z)   (31.2)

i.e.,

h _(X′″) =H _(//)(Cos γ Cos θ Cos Φ−Sin γ Sin Φ)−H _(⊥) Cos γSin θ  (32.1)

h _(y′″) =H _(//)(Sin γ Cos θ Cos Φ−Cos γ Sin Φ)+H _(⊥) Sin γ Sin θ  (32.2)

[0103] Sin θ is known from (21): ${{Sin}\quad \theta} = \left\lbrack {\left( \frac{\gamma_{X^{\prime\prime\prime}}}{g} \right)^{2} + \left( \frac{\gamma_{Y^{\prime\prime\prime}}}{g} \right)^{2}} \right\rbrack^{\frac{1}{2}}$

 Therefore Cos θ=ε(1−Sin² θ)^(1/2)   (33)

[0104] And Sin γ and Cos γ are known from (19): $\begin{matrix} {{{Sin}\quad \gamma} = {\left( \frac{\gamma_{Y^{\prime\prime\prime}}}{g} \right)\frac{1}{{Sin}\quad \theta}}} & (36.1) \\ {{{Cos}\quad \gamma} = {\left( \frac{\gamma_{X^{\prime\prime\prime}}}{g} \right)\frac{1}{{Sin}\quad \theta}}} & (36.2) \end{matrix}$

[0105] Thus,

ε Cos γ|Cos θ|(H _(//) Cos Φ)−Sin γ(H _(//) Sin Φ)=[h _(x′″) −H _(⊥) Cos γ Sin θ]

ε Sin γ|Cos θ|(H _(//) Cos Φ)−Cos γ(H _(//) Sin Φ)=[h _(y′″) −H _(⊥) Sin γ Sin θ]

i.e.,

h _(X′″)=ε Cos γ|Cos θ|(H _(//) Cos Φ)−Sin γ(H _(//) Sin Φ)+H _(⊥) Cos γ Sin θ  (35.1)

h _(Y′″)=ε Sin γ|Cos θ|(H _(//) Cos Φ)−Cos γ(H _(//) Sin Φ)+H _(⊥) Sin γ Sin θ  (35.2)

Sin γh _(X′″)−Cos γh _(Y′″)=2ε Sin γ Cos γ|Cos θ|(H _(//) Cos Φ)−Cos² γ Sin² γ(H _(//) Sin Φ)

Sin γh _(X′″)+Cos γh _(Y′″)=−(H _(//) Sin Φ)+2H _(⊥) Sin γ Cos γ Sin θ

i.e.,

2ε Sin γ Cos γ|Cos θ|(H _(//) Cos Φ)+Cos² γ Sin² γ(H _(//) Sin Φ)=(Sin γh _(X′″)−Cos γh _(Y′″))   (36.1)

(H _(//) Sin Φ)+(2 Sin γ Cos γ Sin θ)H _(⊥)=(Sin γh _(X′″)+Cos γh _(Y′″))   (36.2)

H _(⊥)=ε_(M)(1−H _(//) ²)^(1/2)   (37)

[0106] Where ε_(M) is known (north or south of magnetic equator).

[0107] Thus:

2ε Sin γ Cos γ|Cos θ|(H _(//) Cos Φ)+(Cos² γ−Sin² γ)(H _(//) Sin Φ)=(Sin γh _(X′″)−Cos γh _(Y′″))   (38.1)

(H _(//) Sin Φ)+ε_(M)(Sin γ Cos γ Sin θ)(H _(poc) ² −H _(//) ²)^(1/2)=(Sin γh _(X′″)+Cos γh _(Y′″))   (38.2)

[0108] If the magnetic inclination δ and the field amplitude H_(poc) are assumed to be known:

H_(//)=H_(poc) Cos δ  (9.1)

H_(⊥)=H_(poc) Sin δ  (39.2)

[2H _(//) Sin γ Cos γ(ε|Cos θ|)]Cos Φ+(Cos² γ−Sin² γ)(H _(//) Sin Φ)=(Sin γh _(X′″)−Cos γh _(Y′″))   (40.1)

H _(//) Sin Φ+2(Sin γ Cos γ Sin θ)H _(⊥)=(Sin γh _(X′″)+Cos γh _(Y′″))   (40.2)

i.e.,

H _(//) Sin Φ=2(Sin γ Cos γ Sin θ)H _(⊥)−(Sin γh _(X′″)+Cos γh _(Y′″))   (41.1) ${H_{ll}{Cos}\quad \Phi} = \frac{\left( {{{Sin}\quad \gamma \quad h_{X^{\prime\prime\prime}}} - {{Cos}\quad \gamma \quad h_{Y^{\prime\prime\prime}}}} \right) - {\left( {{{Cos}^{2}\gamma} - {{Sin}^{2}\gamma}} \right)H_{ll}{Sin}\quad \varphi}}{2\quad {Sin}\quad \gamma \quad {Cos}\quad {\gamma \left( \left. ɛ \middle| {{Cos}\quad \delta} \right| \right)}}$

 γ≃0 then H_(//) Sin Φ≃Cos γh_(Y′″)

h_(X′″)≃ε|Cos θ|(H_(//) Cos Φ)+H_(⊥) Sin θ

i.e.,

ε|Cos θ|(H_(//) Cos Φ)≃(h_(X′″)−H_(⊥) Sin θ)

(Cos γh _(X′″)−Sin γh _(y′″))=ε|Cos θ|(H _(//) Cos Φ)+(Cos² γ−Sin² γ)H _(⊥) Sin θ

(Sin γh _(X′″)+Cos γh _(y′″)=−(H _(//) Sin Φ)+2(Sin γ Cos γ)H _(⊥) Sin θ

i.e.,

ε|Cos θ|(H _(//) Cos Φ)+(Cos² γ−Sin² γ)(H _(⊥) Sin Φ)=(Cos γh _(X′″)−Sin θh _(y′″))   (42.1)

−(H _(//) Sin Φ)+2(Sin γ Cos γ)(H _(⊥) Sin θ)=(Sin γh _(X′″)+Cos γh _(y′″))   (42.2)

[0109] If γ=0, one has in first approximation:

ε|Cos θ|(H _(//) Cos Φ)+(H _(⊥) Sin θ)=h _(x′″)

−H _(//) Sin Φ=h _(y′″)

[0110] i.e., $\begin{matrix} {{{Sin}\quad \Phi} = \left( \frac{h_{y^{\prime\prime\prime}}}{H_{ll}} \right)} & (43.1) \\ {{{Cos}\quad \Phi} = \frac{h_{x^{\prime\prime\prime}} - {H_{\bot}{Sin}\quad \theta}}{\left| {{Cos}\quad \theta} \middle| H_{ll} \right.}} & (43.2) \end{matrix}$

$\begin{matrix} {{{{assuming}\quad \varepsilon} = {{- 1}\left( {\theta > \frac{\pi}{2}} \right)}}{H_{ll}^{2} = {\left( h_{y}^{\prime''} \right)^{2} + \left( \frac{h_{x}^{\prime''} - {H_{\bot}{Sin}\quad \theta}}{{{Cos}\quad \theta}\quad } \right)^{2}}}{{{Sin}\quad \varphi} = \left( \frac{- h_{y}^{\prime''}}{H_{ll}} \right)}} & (44.1) \\ {{{Cos}\quad \varphi} = \frac{{H_{\bot}{Sin}\quad \theta} - h_{x}^{\prime''}}{{{{Cos}\quad \theta}\quad }H_{ll}}} & (44.2) \\ {{\Delta \quad {Sin}\quad \varphi} = {{{Cos}\quad \varphi \quad {\Delta\varphi}} = {\Delta \left\{ \frac{\left( {- h_{y}^{\prime''}} \right)}{H_{ll}} \right\}}}} & (45.1) \\ {{\Delta \quad {Cos}\quad \varphi} = {{{Sin}\quad \varphi \quad {\Delta\varphi}} = {\Delta \left\{ \frac{\left( {{H_{\bot}{Sin}\quad \theta} - h_{x}^{\prime''}} \right)}{{{{Cos}\quad \theta}\quad }H_{ll}} \right\}}}} & (45.2) \end{matrix}$

[0111] i.e.,

[0112] Cos ΦΔ Sin Φ−Sin ΦΔ Cos Φ $\begin{matrix} {{{{Cos}\quad \varphi \quad {\Delta Sin\varphi}} - {{Sin}\quad {\varphi\Delta}\quad {Cos}\quad \varphi}} = {{\Delta \quad \varphi} = {{\left\{ \frac{\left( {{H_{\bot}{Sin}\quad \theta} - h_{x}^{\prime''}} \right)}{{{{Cos}\quad \theta}\quad }H_{ll}} \right\} \Delta \left\{ \frac{\left( {- h_{y}^{\prime''}} \right)}{H_{ll}} \right\}} + \quad {\left\{ \frac{\left( {- h_{y}^{\prime''}} \right)}{H_{ll}} \right\} \Delta \left\{ \frac{\left( {{H_{\bot}{Sin}\quad \theta} - h_{x}^{\prime''}} \right)}{{{{Cos}\quad \theta}\quad }H_{ll}} \right\}}}}} & (46) \\ {\upsilon_{O}^{Y^{\prime''}} = {{R_{conf}\left\lbrack {\left( \frac{\gamma_{x}^{\prime''}}{y} \right)^{2} + \left( \frac{\gamma_{y}^{\prime''}}{y} \right)^{2}} \right\rbrack}^{\frac{1}{2}}\frac{\Delta \quad \varphi}{\Delta \quad t}}} & (47) \\ {\upsilon_{O}^{X^{\prime''}} = {{R_{conf}\Delta \quad \theta} = {R_{conf}\frac{\Delta \quad {Sin}\quad \theta}{\left( {1 - {\sin^{2}\theta}} \right)^{\frac{1}{2}}\Delta \quad t}}}} & (48) \end{matrix}$ 

What is claimed is:
 1. A method for controlling a display on a portable electronic device, the method comprising the computer-implemented acts of: detecting a motion of said portable electronic device relative to a fixed point, calculating a position of said portable electronic device based on said motion that is relative to said fixed point; calculating and analyzing said motion; and adjusting said display based on said motion and on said position, if said motion corresponds to a user command.
 2. The method of claim 1, wherein said act of detecting said motion further comprising: receiving input from motion sensors which can detect said motion of said portable electronic device.
 3. The method of claim 1, wherein said act of calculating a position is based on a Javal coordinate system.
 4. The method of claim 1, wherein said act of calculating and analyzing said motion is based on a Javal arc coordinate system.
 5. The method of claim 1, wherein said act of calculating and analyzing said motion further comprises measuring changes in a magnetic field.
 6. The method of claim 1, wherein said act of calculating and analyzing said motion further comprises measuring one or more angles corresponding to a position of said portable electronic device relative to said fixed point.
 7. The method of claim 1, wherein said motion is modeled mathematically by a virtual surface of a virtual thin-walled shell that is approximately spherical in shape.
 8. The method of claim 4, wherein an origin of said Javal arc is said fixed point.
 9. A controller for a display on a portable electronic device, the controller comprising: at least one accelerometer for measuring a motion of said portable electronic device; at least one magnetic sensor for measuring said motion; and logic for calculating said motion and for calculating a position of said portable electronic device based on one or more measurements from said at least one accelerometer and said at least one magnetic sensor.
 10. The controller of claim 9, wherein said motion is modeled by a pre-defined path.
 11. The controller of claim 9, wherein said motion is modeled by a Javal arc.
 12. The controller of claim 9, wherein said motion is based on a Javal coordinate system.
 13. A method for controlling a device, the method comprising the computer-implemented acts of: calculating and analyzing a motion of said device relative to a fixed point from said device; and adjusting at least one aspect of said device based on said motion when one or more criteria are met.
 14. The method of claim 13, wherein said acts of calculating and analyzing said motion further comprising: receiving input from motion sensors which can detect said motion of said device.
 15. The method of claim 14, wherein said motion sensors are attached to said device.
 16. The method of claim 13, further comprising: calculating a position of said device based on said motion that is relative to said fixed point.
 17. A controller for a display on a portable electronic device, the controller comprising: two accelerometers for measuring a motion of said portable electronic device, at least one magnetic sensor for measuring said motion; and logic for calculating said motion and for calculating a position of said portable electronic device based on one or more measurements from said two accelerometers and said at least one magnetic sensor.
 18. A controller for a display on a portable electronic device, the controller comprising: one gyroscope for measuring a motion of said portable electronic device; at least one magnetic sensor for measuring said motion; and logic for calculating said motion and for calculating a position of said portable electronic device based on one or more measurements from said one gyroscope and said at least one magnetic sensor.
 19. A controller for a display on a portable electronic device, the controller comprising: one accelerometer for measuring a motion of said portable electronic device; two magnetic sensors for measuring said motion; and logic for calculating said motion and for calculating a position of said portable electronic device based on one or more measurements from said one accelerometer and said two magnetic sensors. 